<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<link rel="stylesheet" href="/layui/css/layui.css">
<body>
<form class="layui-form" lay-filter="updatePassword2" action="">
    <div class="layui-form-item">
        <label class="layui-form-label">原始密码：</label>
        <div class="layui-input-inline">
            <input name="password" class="layui-input" type="text"  autocomplete="off"
                   lay-verify="required">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新密码：</label>
        <div class="layui-input-inline">
            <input name="npassword" class="layui-input" type="text"  autocomplete="off"
                   lay-verify="required">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">确认新密码：</label>
        <div class="layui-input-inline">
            <input name="rpassword" class="layui-input" type="text"  autocomplete="off"
                   lay-verify="required">
        </div>
    </div>

<div class="layui-form-item">
    <div class="layui-input-block">
        <button id="submit" type="submit" class="layui-btn" lay-submit="" lay-filter="updatePassword">修改</button>
        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
</div>
</form>

<script src="/layui/layui.js"></script>
<script src="/js/changePassword.js"></script>
</body>
</html>